package com.jy.blog.model;

public class Admin {
     private int adminId;
     private String adName;
     private String  adPassword;
     private String adPhone;
     
     public Admin(){
    	 
     }

	public Admin(int adminId, String adName, String adPassword, String adPhone) {
		
		this.adminId = adminId;
		this.adName = adName;
		this.adPassword = adPassword;
		this.adPhone = adPhone;
	}

	public int getAdminId() {
		return adminId;
	}

	public void setAdminId(int adminId) {
		this.adminId = adminId;
	}

	public String getAdName() {
		return adName;
	}

	public void setAdName(String adName) {
		this.adName = adName;
	}

	public String getAdPassword() {
		return adPassword;
	}

	public void setAdPassword(String adPassword) {
		this.adPassword = adPassword;
	}

	public String getAdPhone() {
		return adPhone;
	}

	public void setAdPhone(String adPhone) {
		this.adPhone = adPhone;
	}

	@Override
	public String toString() {
		return "Admin [adminId=" + adminId + ", adName=" + adName + ", adPassword=" + adPassword + ", adPhone="
				+ adPhone + "]";
	}
     
 
}
